/**
 * 
 */
package com.quiz.model;


/**
 * Question class
 * @author Brian Boyle
 * Apr 9, 2012
 */
public class Question {

    private long id;
    private String question;
    private String answer;
    private String possible1;
    private String possible2;
    private String possible3;
    private int asked;
    private int level;

    public static final String TABLE_NAME = "QUESTION";
    public static final String COLUMN_ID = "ID";
    public static final String COLUMN_QUESTION = "QUESTION";
    public static final String COLUMN_ANSWER = "ANSWER";
    public static final String COLUMN_POSSIBLE1 = "POSSIBLE1";
    public static final String COLUMN_POSSIBLE2 = "POSSIBLE2";
    public static final String COLUMN_POSSIBLE3 = "POSSIBLE3";
    public static final String COLUMN_ASKED = "ASKED";
    public static final String COLUMN_LEVEL = "LEVEL";

    /**
     * Default constructor
     * @param id
     * @param type
     * @param imageName
     * @param sectionId
     * @param question
     * @param answer
     * @param possible1
     * @param possible2
     * @param possible3
     */
    public Question(long id, String question, String answer, String possible1, String possible2, String possible3, int level) {
        this.id = id;
        this.question = question;
        this.answer = answer;
        this.possible1 = possible1;
        this.possible2 = possible2;
        this.possible3 = possible3;
        this.level = level;
    }

    /**
     * @return the id
     */
    public long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(long id) {
        this.id = id;
    }

    /**
     * @return the question
     */
    public String getQuestion() {
        return question;
    }

    /**
     * @param question the question to set
     */
    public void setQuestion(String question) {
        this.question = question;
    }

    /**
     * @return the answer
     */
    public String getAnswer() {
        return answer;
    }

    /**
     * @param answer the answer to set
     */
    public void setAnswer(String answer) {
        this.answer = answer;
    }

    /**
     * @return the possible1
     */
    public String getPossible1() {
        return possible1;
    }

    /**
     * @param possible1 the possible1 to set
     */
    public void setPossible1(String possible1) {
        this.possible1 = possible1;
    }

    /**
     * @return the possible2
     */
    public String getPossible2() {
        return possible2;
    }

    /**
     * @param possible2 the possible2 to set
     */
    public void setPossible2(String possible2) {
        this.possible2 = possible2;
    }

    /**
     * @return the possible3
     */
    public String getPossible3() {
        return possible3;
    }

    /**
     * @param possible3 the possible3 to set
     */
    public void setPossible3(String possible3) {
        this.possible3 = possible3;
    }


    /**
     * @return the asked
     */
    public int getAsked() {
        return asked;
    }


    /**
     * @param asked the asked to set
     */
    public void setAsked(int asked) {
        this.asked = asked;
    }


    /**
     * @return the level
     */
    public int getLevel() {
        return level;
    }


    /**
     * @param level the level to set
     */
    public void setLevel(int level) {
        this.level = level;
    }
}
